#include<bits/stdc++.h>

using namespace std;

int main() {
    char a[100] = "apple";
    char b[100] = "banana";
    cout << strcmp(a, b) << endl; //negative
    cout << strcmp(b, a) << endl; //positive
    cout << strcmp(a, a) << endl; //equal
    return 0;
}
